//参数
let formData=new FormData();
formData.append("page", this.pagination.current);
formData.append("limit", this.pagination.pageSize);
let tempOrder=this.orders
tempOrder=JSON.parse(JSON.stringify(tempOrder))
formData.append("orders", JSON.stringify(tempOrder));
let tempWhere=this.where
tempWhere=JSON.parse(JSON.stringify(tempWhere))
formData.append("where", JSON.stringify(tempWhere));
formData.append("keyword", this.searchValue.keyword);
formData.append("userId", this.$store.state.user.user.userId);
formData.append("whId", this.searchValue.whId);
formData.append("endDate", this.searchValue.status);
formData.append("flowName", this.searchValue.flowName);
formData.append("taskName", this.searchValue.taskName);
formData.append("createUserName", this.searchValue.createUserName);
let url=process.env.VUE_APP_API_BASE_URL;
url=url.replace("api","activitiForm/initiationProcess");
// 根据表单应用标识 获取数据
this.$http.post(url, formData).then(res => {
    if (res.data.code === 280) {
        this.data = res.data.list
        //对比后将应用名称放在table数据内
        for (let i = 0; i < this.data.length; i++) {
            for (let j = 0; j < this.hubData.length; j++) {
                if (this.data[i]["whId"] === this.hubData[j]["whId"]){
                    this.data[i]["hubName"] = this.hubData[j]["name"]
                }
            }
        }
    } else {
        this.$message.error(res.data.msg?res.data.msg:this.$t('result.error.common.msg'));
    }
}).catch(e => {
    this.$message.error(e.message);
});